<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>百家云-视频课程</title>
    <link rel="stylesheet" href="./css/global.css">
    <link rel="stylesheet" href="./css/course.css">
</head>

<body>
<jsp:include page="head.jsp"></jsp:include>
    <div class="course">
        <div class="courseright">
            <ul class="courseulr">
            	<c:forEach items="${courseBeans}" var="c" varStatus="i">
	                <li>
	                <div class="courselist">
		                 <a href="#" ><img style="border-radius:3px 3px 0 0;" width="240" src="images/c${c.cid}.jpg" title="${c.cname}"></a>
		                 <p class="courTit"><a href="#" >${c.cname}</a></p>
		                 <div class="gray">
			                  <span>30课时 600分钟</span>
			                  <span class="sp1">${c.studys}人学习</span>
		                 </div>
		                 <div class="do">
	                         <a href="${pageContext.request.contextPath }/UserServlet?method=addCourse&uname=${loginuser}&cid=${c.cid}" class="add_course">订阅课程</a>
	                     </div>
	                </div>
	                </li>
             	</c:forEach>
            </ul>
        </div>
 
    </div>
    <jsp:include page="footer.jsp"></jsp:include>
    
</body>
</html>